pep-8 エラー対応
comparison to None should be 'if cond is not None:
code:memo.py
tags = list(filter(lambda x: x != None and x.text != "\n", data))
# ^^
# ↓
tags = list(filter(lambda x: x is not None and x.text != "\n", data))
# ^^^^^^
確認用
Q. pep-8 エラー対応
参考
関連